Erik van Pienbroek [Sun, 27 Jan 2013 14:14:35 +0000 (15:14 +0100)]
Don't build gtk-launch when gio-unix is not available
https://bugzilla.gnome.org/show_bug.cgi?id=682824
Jan Arne Petersen [Wed, 30 Jan 2013 21:05:56 +0000 (22:05 +0100)]
wayland: Add global_remove handler
Do not crash on wl_registry.global_remove events anymore.
https://bugzilla.gnome.org/show_bug.cgi?id=692899
Jan Arne Petersen [Sun, 27 Jan 2013 13:28:43 +0000 (14:28 +0100)]
wayland: Make GdkWaylandDevice public
Rename GdkDeviceCore to GdkWaylandDevice and export it properly in a
header file. Add public accessors for wl_seat, wl_pointer and
wl_keyboard.
https://bugzilla.gnome.org/show_bug.cgi?id=692823
Jan Arne Petersen [Sat, 26 Jan 2013 22:14:57 +0000 (23:14 +0100)]
wayland: Rename GdkWaylandDevice
Rename GdkWaylandDevice to GdkWaylandDeviceData so that GdkDeviceCore
can be renamed to GdkWaylandDevice.
https://bugzilla.gnome.org/show_bug.cgi?id=692823
Jan Arne Petersen [Sat, 26 Jan 2013 22:10:29 +0000 (23:10 +0100)]
wayland: Remove unused, commented out code
https://bugzilla.gnome.org/show_bug.cgi?id=692823
Erik van Pienbroek [Sun, 27 Jan 2013 14:17:32 +0000 (15:17 +0100)]
Only build native-update-icon-cache when no external update-icon-cache binary was found
https://bugzilla.gnome.org/show_bug.cgi?id=692637
Erik van Pienbroek [Sun, 27 Jan 2013 14:19:34 +0000 (15:19 +0100)]
Don't use AC_CANONICAL_TARGET
This autoconf macro should only be used for building compilers
(or compiler tools) for a specific target. The current effect of
it in GTK3 is that it causes various executables like gtk3-demo
to be prefixed with $target- when the --target configure flag
is set or when cross-compiling. When cross-compiling GTK3 on
Linux for the Win32 target this causes the gtk3-demo binary
to be named i686-w64-mingw32-gtk3-demo.exe instead of just
gtk3-demo.exe (like it was before commit
53083ea7b423482b)
https://bugzilla.gnome.org/show_bug.cgi?id=692638
Cosimo Cecchi [Fri, 1 Feb 2013 16:10:30 +0000 (17:10 +0100)]
scrolledwindow: deprecate gtk_scrolled_window_add_with_viewport()
https://bugzilla.gnome.org/show_bug.cgi?id=693015
Cosimo Cecchi [Fri, 1 Feb 2013 16:22:13 +0000 (17:22 +0100)]
Don't use gtk_scrolled_window_add_with_viewport() in tests
https://bugzilla.gnome.org/show_bug.cgi?id=693015
Cosimo Cecchi [Fri, 1 Feb 2013 15:08:09 +0000 (16:08 +0100)]
Don't use gtk_scrolled_window_add_with_viewport() internally
Just use gtk_container_add() instead.
https://bugzilla.gnome.org/show_bug.cgi?id=693015
Cosimo Cecchi [Fri, 1 Feb 2013 16:03:44 +0000 (17:03 +0100)]
scrolledwindow: make gtk_scrolled_window_add() smart
There's really no reason why we shouldn't automatically create a
GtkViewport when the widget added to GtkScrolledWindow is not a
GtkScrollable, instead of just printing a g_warning.
Copy the viewport special case into the scrolled window implementation
of gtk_container_add().
https://bugzilla.gnome.org/show_bug.cgi?id=693015
Matthias Clasen [Sat, 2 Feb 2013 03:53:35 +0000 (22:53 -0500)]
Fix a few parameter mismatches in the symbols
Matthias Clasen [Sat, 2 Feb 2013 03:52:24 +0000 (22:52 -0500)]
Make new state flags show up in the docs
Matthias Clasen [Sat, 2 Feb 2013 03:52:04 +0000 (22:52 -0500)]
Add new symbols
Matthias Clasen [Sat, 2 Feb 2013 03:51:32 +0000 (22:51 -0500)]
Add new symbols to docs
Matthias Clasen [Sat, 2 Feb 2013 03:09:28 +0000 (22:09 -0500)]
Include gtklevelbaraccessible.h in gtk-a11y.h
Matthias Clasen [Sat, 2 Feb 2013 03:09:08 +0000 (22:09 -0500)]
Add new fullscreen symbols
Gheyret Kenji [Sat, 2 Feb 2013 03:15:17 +0000 (12:15 +0900)]
Updated Uyghur translation
Signed-off-by: Gheyret Kenji <gheyret@gmail.com>
Matthias Clasen [Sat, 2 Feb 2013 02:59:09 +0000 (21:59 -0500)]
Use consistent capitalization of demo titles
Matthias Clasen [Sat, 2 Feb 2013 02:58:34 +0000 (21:58 -0500)]
Avoid perl warnings
Apparently, defined is not cool anymore.
Matthias Clasen [Sat, 2 Feb 2013 02:56:25 +0000 (21:56 -0500)]
Make the text look a bit nicer
Add a margin around the text, and some space between the title
and the body of the info tab.
Matthias Clasen [Sat, 2 Feb 2013 02:46:07 +0000 (21:46 -0500)]
Set the notebook to be scrollable
The pixbufs example has just too many files..
Matthias Clasen [Sat, 2 Feb 2013 02:38:40 +0000 (21:38 -0500)]
Updates for 3.7.8
Matthias Clasen [Sat, 2 Feb 2013 01:15:56 +0000 (20:15 -0500)]
Revert "Forgotten file"
This reverts commit
1d72682332cfac909e62f3ba1cf3d7ee3c7d1490.
Matthias Clasen [Sat, 2 Feb 2013 00:58:04 +0000 (19:58 -0500)]
Don't strip whitespace from ui files
That turns them into gibberish when we show them in the ui.
Benjamin Otte [Sat, 2 Feb 2013 00:42:04 +0000 (01:42 +0100)]
cssimage: Only load image data when needed
Saves ~6MB of memory per application in the Adwaita I am using - at
least until the app starts using all the images in the theme, because
the code doesn't discard images yet once they were loaded.
https://bugzilla.gnome.org/show_bug.cgi?id=692934
Benjamin Otte [Sat, 2 Feb 2013 00:11:25 +0000 (01:11 +0100)]
cssimage: Add a getter
This will be needed in the next commit.
https://bugzilla.gnome.org/show_bug.cgi?id=692934
Benjamin Otte [Fri, 1 Feb 2013 23:23:31 +0000 (00:23 +0100)]
cssimage: Return the loaded image from compute()
This way, we don't keep the indirection when actually rendering the
image.
https://bugzilla.gnome.org/show_bug.cgi?id=692934
Benjamin Otte [Fri, 1 Feb 2013 22:15:27 +0000 (23:15 +0100)]
css: Split out GtkCssImageSurface
This is essentially a GtkCssImage for a cairo_surface_t and is a pretty
much straight up copy of GtkCssImageUrl. But we want to implement lazy
loading and animations, so GtkCssImageUrl is going to gain new
features...
https://bugzilla.gnome.org/show_bug.cgi?id=692934
Benjamin Otte [Wed, 2 Jan 2013 14:27:00 +0000 (15:27 +0100)]
cssimage: Store the URI we're loaded from
I'd like to use it when printing the value, but I haven't found a way to
do that sanely yet, as I'd need to be able to print relative paths for
make check to work (otherwise the srcdir would blow things up). And we
use a GString to output to, so there's no way to attach a base dir to
that.
If anyone has an idea how to achieve that, poke me. Having the real
filename in debug prints sounds like a very good idea to me.
https://bugzilla.gnome.org/show_bug.cgi?id=692934
Benjamin Otte [Fri, 1 Feb 2013 23:21:15 +0000 (00:21 +0100)]
gtk-demo: Fix geniclude.pl.in to not look for extra files
This was supposed to be fixed in
08667728190dcd7e19ddbbead4add714fab23364 but I fixed the generated
geninclude.pl. Oops.
Benjamin Otte [Fri, 1 Feb 2013 20:56:36 +0000 (21:56 +0100)]
gtk-demo: Replace logo with a transparent one
That way, we don't have to make it transparent in all the demos.
Benjamin Otte [Fri, 1 Feb 2013 18:02:56 +0000 (19:02 +0100)]
gtk-demo: Move resources into the tests they belong
This also gets rid of the nasty @import("resource:///...") lines in the
css files.
Benjamin Otte [Fri, 1 Feb 2013 17:58:40 +0000 (18:58 +0100)]
gtk-demo: Remove custom CSS demo
Custom CSS is something that we don't want to advertise as there are too
many pitfalls for using it correctly. So remove the demo for it.
Benjamin Otte [Fri, 1 Feb 2013 17:56:10 +0000 (18:56 +0100)]
gtk-demo: Remove file lists from demo data
We can get it from parsing resources now, so no need to manually add
them.
Benjamin Otte [Fri, 1 Feb 2013 17:21:56 +0000 (18:21 +0100)]
gtk-demo: Display all resources on the right side
This way, people know what stuff we are loading.
And instead of listing all the files in the top (and forgetting things),
we just take them from the resources list.
Christian Kirbach [Fri, 1 Feb 2013 20:27:28 +0000 (21:27 +0100)]
Updated German translation
Mike Gorse [Mon, 3 Dec 2012 22:07:23 +0000 (16:07 -0600)]
Add accessibility for GtkLevelBar and value test
Benjamin Otte [Fri, 1 Feb 2013 16:41:56 +0000 (17:41 +0100)]
gtk-demo: Stop installing files
As everything is handled via resources now, there's no need to install
the files anymore.
Benjamin Otte [Fri, 1 Feb 2013 16:38:08 +0000 (17:38 +0100)]
gtk-demo: Remove demo_find_file() function
It's not used anymore. With it, the demo-common.h header is not needed
anymore and is removed, too (and all the needless includes).
Benjamin Otte [Fri, 1 Feb 2013 16:01:10 +0000 (17:01 +0100)]
scrolledwindow: Use local variables
This (a) makes the code look nicer, and (b) works for non-scrollables
Benjamin Otte [Fri, 1 Feb 2013 13:46:13 +0000 (14:46 +0100)]
gtk-demo: Load icon from resource
Benjamin Otte [Wed, 30 Jan 2013 22:16:16 +0000 (23:16 +0100)]
gtk-demo: Display extra files from resources
Benjamin Otte [Wed, 30 Jan 2013 22:07:45 +0000 (23:07 +0100)]
xxx: Add source files
Benjamin Otte [Wed, 30 Jan 2013 22:05:12 +0000 (23:05 +0100)]
gtk-demo: Don't use subfolders for resources
This confuses the notebook that is displaying them.
Benjamin Otte [Wed, 30 Jan 2013 20:11:32 +0000 (21:11 +0100)]
gtk-demo: Don't use aliases for filenames
This is necessary so the files displayed in the left notebook match the
files referenced in the source code.
Benjamin Otte [Wed, 30 Jan 2013 15:57:13 +0000 (16:57 +0100)]
gtk-demo: Port pixbufs example to resources
Benjamin Otte [Wed, 30 Jan 2013 15:46:20 +0000 (16:46 +0100)]
gtk-demo: Port textview example to resources
Benjamin Otte [Wed, 30 Jan 2013 15:24:39 +0000 (16:24 +0100)]
image: Make gtk_image_new_from_resource() load animations
Requires new gdk-pixbuf APIs to load animations from resources.
Benjamin Otte [Tue, 29 Jan 2013 21:24:42 +0000 (22:24 +0100)]
gtk-demo: Port images example to resources
Benjamin Otte [Tue, 29 Jan 2013 20:42:16 +0000 (21:42 +0100)]
gtk-demo: Port images example to GInputStream
Benjamin Otte [Tue, 29 Jan 2013 16:21:19 +0000 (17:21 +0100)]
gtk-demo: Port iconview example to use resources
Benjamin Otte [Tue, 29 Jan 2013 16:14:34 +0000 (17:14 +0100)]
gtk-demo: Port appwindow example to resources
Benjamin Otte [Tue, 29 Jan 2013 16:10:30 +0000 (17:10 +0100)]
gtk-demo: Port builder example to resources
Benjamin Otte [Tue, 29 Jan 2013 16:02:16 +0000 (17:02 +0100)]
gtk-demo: Make printing example use resources
Benjamin Otte [Tue, 29 Jan 2013 13:51:06 +0000 (14:51 +0100)]
gtk-demo: Load sources from resources
Benjamin Otte [Tue, 29 Jan 2013 13:08:47 +0000 (14:08 +0100)]
gtk-demo: Load the demo files using g_file_get_contents()
... instead of massaging a FILE* with flockfile() and ungetc().
Benjamin Otte [Tue, 29 Jan 2013 12:27:58 +0000 (13:27 +0100)]
gtk-demo: Include the source files as resources
Wouter Bolsterlee [Fri, 1 Feb 2013 15:47:03 +0000 (16:47 +0100)]
Updated Dutch translation
Cosimo Cecchi [Fri, 1 Feb 2013 10:10:23 +0000 (11:10 +0100)]
tree-view: add back gtk_style_context_set_background()
Commit
ddceddaa84222f3f2b40fe5ce3b04dc7ddf6cace removed the call to
gtk_style_context_set_background() in favour of always rendering it with
gtk_render_background() during the draw vfunc.
This has the side effect of making the backing window always
transparent, which blocks GTK from applying some optimizations during
the paint cycle. The result is that, especially in clutter-gtk
applications, scrolling performance gets really bad.
This commit partially reverts
ddceddaa84222f3f2b40fe5ce3b04dc7ddf6cace
and changes the code so that both gtk_style_context_set_background() and
gtk_render_background() are called
Cosimo Cecchi [Fri, 1 Feb 2013 09:30:57 +0000 (10:30 +0100)]
icon-view: add back gtk_style_context_set_background()
Commit
da09447914c0919362533182261a2c862ac8de81 removed the call to
gtk_style_context_set_background() in favour of always rendering it with
gtk_render_background() during the draw vfunc.
This has the side effect of making the backing window always
transparent, which blocks GTK from applying some optimizations during
the paint cycle. The result is that, especially in clutter-gtk
applications, scrolling performance gets really bad.
This commit partially reverts
da09447914c0919362533182261a2c862ac8de81
and changes the code so that both gtk_style_context_set_background() and
gtk_render_background() are called.
Torsten Schönfeld [Tue, 29 Jan 2013 23:11:29 +0000 (00:11 +0100)]
treednd: Remove (out) annotation for GtkSelectionData arg
gtk_tree_drag_source_drag_data_get's GtkSelectionData argument should not be
marked as (out) because:
a) GtkSelectionData is semi-private (it's declared in gtkselectionprivate.h),
and thus gobject-introspection has no knowledge of its fields or its size.
There is thus no way for language bindings to allocate GtkSelectionData.
b) Even if it was possible for language bindings to allocate GtkSelectionData,
a zeroed-out instance thus created would not be usable with
gtk_tree_drag_source_drag_data_get. As far as I can tell, you need to
initialize its "target" member to the GdkAtom of "GTK_TREE_MODEL_ROW".
Language bindings have no way of knowing this, of course.
https://bugzilla.gnome.org/show_bug.cgi?id=692844
Piotr Drąg [Thu, 31 Jan 2013 18:50:54 +0000 (19:50 +0100)]
Updated Polish translation
Inaki Larranaga Murgoitio [Thu, 31 Jan 2013 11:25:49 +0000 (12:25 +0100)]
Updated Basque language
Daiki Ueno [Tue, 29 Jan 2013 05:49:22 +0000 (14:49 +0900)]
textlayout: respect preedit color attribute
gtk_text_renderer_prepare_run now checks appearance.rgba, rather than
appearance.{fg_color,bg_color}.
https://bugzilla.gnome.org/show_bug.cgi?id=692766
Rob Bradford [Tue, 29 Jan 2013 18:40:02 +0000 (18:40 +0000)]
wayland: Implement gdk_window_fullscreen & gdk_window_unfullscreen
Alexander Larsson [Tue, 29 Jan 2013 10:55:05 +0000 (11:55 +0100)]
Remove accidental commit that broke gtk3-demo
A piece of test code accidentally snuck into a commit that
made gtk3-demo not find its data files, this patch just
reverts that change.
Jasper St. Pierre [Wed, 23 Jan 2013 19:49:35 +0000 (14:49 -0500)]
gdkdevicemanager-x11: Request XI2.3
Since XIQueryVersion, the bad API that it is, enforces the version from
the first client that requests it, for clients to be able to use the new
features in XI2.3, we need to ensure that we pass XIQueryVersion 2.3 as
the version that we support. We know that GTK+ won't be confused by the
new features.
https://bugzilla.gnome.org/show_bug.cgi?id=692467
Jasper St. Pierre [Wed, 23 Jan 2013 22:07:57 +0000 (17:07 -0500)]
gdkdevicemanager-x11: Always request XI2.2
The X server should fill in the minor version that it supports in the
case where it only supports the older version, so we can safely always
pass a higher version number than is potentially supported by the
server.
libXi was designed to be stable in the case where it doesn't recognize
requests or events/replies, so this should still work in a case where
we have new versions of the X server, and GTK+, but an old version of
libXi, at least for however well that setup should work.
https://bugzilla.gnome.org/show_bug.cgi?id=692467
Jasper St. Pierre [Sun, 27 Jan 2013 22:22:53 +0000 (17:22 -0500)]
migrating-2to3: Add more words about GtkObject
Talk about replacing the various function calls of GtkObject with
GObject or GtkWidget calls.
Jasper St. Pierre [Sun, 27 Jan 2013 21:06:59 +0000 (16:06 -0500)]
migrating-2to3: Add more words about GSEAL_ENABLE issues
As requested by Linus Torvalds, the wording here is a bit terse.
Explain more about how to fix the errors one encounters when using
GSEAL_ENABLE.
https://bugzilla.gnome.org/show_bug.cgi?id=692659
Matej Urbančič [Mon, 28 Jan 2013 14:58:53 +0000 (15:58 +0100)]
Updated Slovenian translation
Matej Urbančič [Sun, 27 Jan 2013 21:36:03 +0000 (22:36 +0100)]
Updated Slovenian translation
Matej Urbančič [Sun, 27 Jan 2013 21:32:07 +0000 (22:32 +0100)]
Updated Slovenian translation
Rico Tzschichholz [Sun, 27 Jan 2013 15:32:44 +0000 (16:32 +0100)]
wayland: Add missing reference to gdkwaylandwindow.h
Missing bit of
01c0dd91821ac0eebccf1c0bfc644cde5b41c4a8
John Lindgren [Sat, 26 Jan 2013 21:47:09 +0000 (16:47 -0500)]
XSettingsList is now a typedef for GHashTable.
https://bugzilla.gnome.org/show_bug.cgi?id=692605
John Lindgren [Sat, 26 Jan 2013 20:53:58 +0000 (15:53 -0500)]
Use hash-based conversions for XSETTINGS names.
https://bugzilla.gnome.org/show_bug.cgi?id=692605
Matej Urbančič [Sat, 26 Jan 2013 21:46:29 +0000 (22:46 +0100)]
Updated Slovenian translation
Benjamin Otte [Sat, 26 Jan 2013 17:29:21 +0000 (18:29 +0100)]
filechooser: Move saving geometry to where it belongs
Move it from the filechooserwidget to the filechooserdialog unmap
function. It was previously only working for filechooserdialogs, too.
Benjamin Otte [Sat, 26 Jan 2013 17:29:00 +0000 (18:29 +0100)]
filechooser: Move settings key defines into header
... so we can read/write those keys from different source files.
Benjamin Otte [Fri, 25 Jan 2013 13:54:39 +0000 (14:54 +0100)]
widget: Another place to relax the visibility requirement
See commit
154204e89136f338a3b0cbd91ddaebc09e4bd8e3 for details
Matej Urbančič [Sat, 26 Jan 2013 19:09:38 +0000 (20:09 +0100)]
Updated Slovenian translation
Daniel Martinez [Fri, 25 Jan 2013 16:55:43 +0000 (17:55 +0100)]
Added Aragonese to LINGUAS file
Jorge Pérez Pérez [Fri, 25 Jan 2013 16:53:05 +0000 (17:53 +0100)]
Added Aragonese UI translation
Nilamdyuti Goswami [Fri, 25 Jan 2013 12:53:33 +0000 (18:23 +0530)]
Assamese translation updated
Olivier Fourdan [Mon, 21 Jan 2013 10:53:23 +0000 (11:53 +0100)]
tests: add a test for fullscreen mode
https://bugzilla.gnome.org/show_bug.cgi?id=691856
Olivier Fourdan [Mon, 21 Jan 2013 10:52:32 +0000 (11:52 +0100)]
x11: implement gdk_window_apply_fullscreen_mode()
for the X11 backend using the EWMH mechanism
_NET_WM_FULLSCREEN_MONITORS.
https://bugzilla.gnome.org/show_bug.cgi?id=691856
Olivier Fourdan [Mon, 21 Jan 2013 10:49:45 +0000 (11:49 +0100)]
gdk: add gdk_window_set_fullscreen_mode()
and gdk_window_get_fullscreen_mode() API to allow
applications to specify if a fullscreen window should
span across all monitors in a multi-monitor setup or
remain on the current monitor where the window is
placed.
Fullscreen mode can be either GDK_FULLSCREEN_ON_ALL_MONITORS
or GDK_FULLSCREEN_ON_CURRENT_MONITOR.
https://bugzilla.gnome.org/show_bug.cgi?id=691856
Federico Mena Quintero [Fri, 25 Jan 2013 00:07:03 +0000 (18:07 -0600)]
GtkFileChooser: Remove the last remains of the last_folder_uri logic
This is akin to commit
cfb09e565460fd463a0822c8c8dbb0521d9fcab9 in the gtk-2-24 branch;
the last_folder_uri is no longer being used for anything meaningful, so we
remove it altogether.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Matthias Clasen [Thu, 24 Jan 2013 22:54:13 +0000 (17:54 -0500)]
Forgotten file
Jasper St. Pierre [Thu, 24 Jan 2013 22:35:30 +0000 (17:35 -0500)]
Add git.mk to more places
Jasper St. Pierre [Thu, 24 Jan 2013 22:33:57 +0000 (17:33 -0500)]
Update git.mk
Jasper St. Pierre [Thu, 24 Jan 2013 22:09:51 +0000 (17:09 -0500)]
gtkimage: Add GtkImage::resource property
This is designed for GtkBuilder scenarios:
<object class="GtkImage" id="blah">
<property name="resource">/org/myapp/blah.png</property>
</object>
https://bugzilla.gnome.org/show_bug.cgi?id=692481
Gabor Kelemen [Thu, 24 Jan 2013 22:22:28 +0000 (23:22 +0100)]
Updated Hungarian translation
Daniel Mustieles [Thu, 24 Jan 2013 15:31:58 +0000 (16:31 +0100)]
Updated Spanish translation
Benjamin Otte [Thu, 24 Jan 2013 13:25:27 +0000 (14:25 +0100)]
widget: Allow invisible toplevels to do sizing operations
This is a quickfix to keep things working.
It turns out GtkWindow assumes it can do sizing operations while not
being visible, or while in the process of show()ing/hide()ing itself.
And commit
b495ce54 broke these operations.
Figuring this properly requires some more thinking and restructuring on
my part, so for now we relax the requirement of visiblility enough for
these things to start working again.
Benjamin Otte [Wed, 23 Jan 2013 02:23:33 +0000 (03:23 +0100)]
filechooser: Attach GSettings object to GtkSettings
... instead of keeping one per GtkFileChooserDefault. This allows using
it in other places, too.
Benjamin Otte [Mon, 21 Jan 2013 02:14:14 +0000 (03:14 +0100)]
filechooser: Use macros
Thanks for not letting me catch that place when I was greeping...
Matthias Clasen [Thu, 24 Jan 2013 11:31:07 +0000 (06:31 -0500)]
Make formatting of configure options consistent
Some options had double [], which can be avoided by
judicious use of opt="plain" attributes.
Matthias Clasen [Thu, 24 Jan 2013 11:23:04 +0000 (06:23 -0500)]
Add some more Broadway documentation
Among other things, introduce a broadwayd man page.